#!/bin/bash
which gcd
if [[ $? -eq 0 ]];then
  dst="${HOME}/Download"
  mkdir -p $dst
  pushd ${dst}
  ps -ef | grep -v 'grep' | grep gcd | grep -v sh
  if [[ $? -eq 0 ]];then
          echo "Runing..."
  else
          gcd
  fi
fi